package com.mcxx.modules.temporary.family.dao.write;

import org.apache.ibatis.annotations.Mapper;
import com.mcxx.modules.temporary.family.entity.TmpFamilyMemberHistoryEntity;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TmpFamilyMemberHistoryWriteDao {

	int insert(TmpFamilyMemberHistoryEntity tmpFamilyMemberHistory);


	int insertIgnoreNull(TmpFamilyMemberHistoryEntity tmpFamilyMemberHistory);


	int update(TmpFamilyMemberHistoryEntity tmpFamilyMemberHistory);


	int updateIgnoreNull(TmpFamilyMemberHistoryEntity tmpFamilyMemberHistory);


	int delete(TmpFamilyMemberHistoryEntity tmpFamilyMemberHistory);

	int deleteByOrderId(String orderId);


	int updateMemberName(@Param("name")String name, @Param("orderId")String orderId, @Param("memberId")String memberId);

}
